package day01;
/**
 * @author yangwenqi
 * @decs TODO
 * @date 2025/4/16
 */
public class StudentTest {
    public static void main(String[] args) {
        // 创建学生类对象
        Student student = new Student();
        // 设置学生信息
        student.setName("小王");
        student.setAge(18);
        student.setGender("男");
        student.show();
        System.out.println();
        student.study();
        System.out.println();
        System.out.println("姓名：" + student.getName()+"性别" + student.getGender()+"今年" + student.getAge()+"岁");

    }
}

